ing[alternative=doublesided]
\definemargindata [MyInMargin][ininner]
\definemarginframed[MyInMargin]
[topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineframed[topruletitle]
[width=max,
frame=off,
topframe=on,
rulethickness=1pt,
align={just
ata [MyInMargin][ininner]
\definemarginframed[MyInMargin]
[topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineframed[topruletitle]
[width=max,
frame=off,
topframe=on,
rulethickness=1pt,
align={justify},
extras=\dontleavehmode]
\startt
[MyColorA][.75(MyColorB,white)]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
backgroundcolor=MyColorD,
location=depth]
\defineframedtext
[FramedText]
[offset=0.25em,
style=\ss
it be something to do with the version of LMTX? Mine is 2022.08.25
19:21 LMTX.
I do have a workaround, with a \defineframed[underbarframed] and then
setting offsets accordingly and using that as a textcommand.
Julian
On 21/9/23 14:26, Wolfgang Schuster wrote:
jbf schrieb am 21.09.2023 um 05:03
to work.
>
> \framed has no style key, you have to use the foregroundstyle to change
> font style, size etc.
>
> To create your own \framed (or \inframed when you add location=low) you
> can use the \defineframed command:
>
> \d
} but
nothing seems to work.
\framed has no style key, you have to use the foregroundstyle to change
font style, size etc.
To create your own \framed (or \inframed when you add location=low) you
can use the \defineframed command:
\defineframed
[infr]
[location=low,
frame=on,
corner=00
Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
[...]
You can use \offset to shift the enumeration title.
\defineframed
[ExampleHeadFrame]
[location=low,
background
{transparentred} ;
\stopuseMPgraphic
\defineoverlay[myOL1][\useMPgraphic{mytest1}]
\defineoverlay[myOL2][\useMPgraphic{mytest2}]
%===
\defineframed
[MyBigFrame]
[offset=-0.26pt,
frameoffset=0pt,
frame=off,
strut=yes,
before
][\useMPgraphic{mytest2}]
%
\defineframed
[FramePage]
[align=width,
frame=off,
location=high,
strut=yes,
offset=0pt,
width=\textwidth,
height=\textheight,
before=]
\defineframed
[FrameColumn]
[FramePage
]
\stopalignment
}}
\stopsetups
\startsetups[text b]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[left]
\getmarking[section]
\stopalignment
}}
\stopsetups
\definemeasure [MarginWidth] [2cm]
\definemeasure [MarginRaise] [56ex]
\defineframed
[MarginBlock]
[frame=off,
width
number, but neither achieve what I want. \underbar is
too close to the number
\setupbar[underbar][offset=-0.8] % play around with the number
and \crlf\blackrule too far below. So basically
my question is: is there a way of adjusting the position of a brief rule
beneath the number?
\defineframed
he number
> and \crlf\blackrule too far below. So basically
> my question is: is there a way of adjusting the position of a brief rule
> beneath the number?
\defineframed[underbarframed]
[
frame=off,
rulethickness=1pt,
,
location=middle]
\setupbodyfont
[newcomputermodern-book,11pt]
\definefont
[TextStyle]
[SansBold*default sa 1.2]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit,
]
\setupbackgrounds [header] [text]
[frame=off,bottomframe=on,width=\widthpaper,
framecolor
Wolfgang), I have to create a solution environment like the attached image.
My problem is adjusting the length of the frame.
Thank you.
Fabrice
\setupbodyfont[newcomputermodern-book,11pt]
\defineframed
[ACFRAME]
[frame=off,
width=fit,
align=flushleft,
location=low
you.
> Fabrice
>
> \setupbodyfont[newcomputermodern-book,11pt]
>
> \defineframed
>[ACFRAME]
>[frame=off,
> width=fit,
> align=flushleft,
> location=low,
> background=color,
> backgroundcolor=lightgray,
> foregroundcolor=,
>
\setupbodyfont[newcomputermodern-book,11pt]
\defineframed
[ACFRAME]
[frame=off,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray,
foregroundcolor=,
foregroundstyle=]
\startuseMPgraphic{acframe}
fill OverlayBox
Hello,
Following on from my previous questions for writing my book (thanks again
Wolfgang), I have to create a solution environment like the attached image.
My problem is adjusting the length of the frame.
Thank you.
Fabrice
\setupbodyfont[newcomputermodern-book,11pt]
\defineframed
[ACFRAME
low.
There is no error message but no output at all.
Would you please tell me what is wrong in here?
Best regards,
Dalyoung
\startMPdefinitions
input boxes;
primarydef a +- b =
a -- (xpart a, ypart b) -- b
enddef ;
primarydef a -+ b =
a -- (xpart b, ypart a) -- b
enddef ;
\stopMPdefiniti
]{#2}%
}
\setuphead [section] [
style=\bfe,
%style={\bfe\setupinterlinespace[line=17.5pt]},
style={\bfe\setuplocalinterlinespace[line=17.5pt]},
after=,
before=,
command=\section_command,
]
\protect
\defineframed[myframed][
width=\textwidth,
frame=off,
> rulethickness=0pt,
> offset=0pt,
> loffset=-0pt,
> before=,
> location=top,
> align=flushleft,]{#2}%
> }
>
>
> \setuphead [section] [
> style=\bfe,
>
et=0pt,
loffset=-0pt,
before=,
location=top,
align=flushleft,]{#2}%
}
\setuphead [section] [
style=\bfe,
after=,
before={\blank[1*line]},
command=\section_command,
]
\protect
\defineframed[myframed][
width=\tex
] % < added
\definebodyfontenvironment [12pt] [e=20pt] % < added
\defineframed[myframed][
width=\textwidth,
frame=off,
rulethickness=0pt,
offset=0pt,
loffset=-0pt,
foregroundstyl
Font] [Bold at 20pt] [24pt]
>
> \unprotect
> \unexpanded\def\section_command#1#2{%
> \framed [
>width=\textwidth,
>frame=off,
> rulethickness=0pt,
>offset=0pt,
>loff
] [
style={\BigFont},
after=,
before={\blank[1*line]},
command=\section_command,
]
\protect
\defineframed[myframed][
width=\textwidth,
frame=off,
rulethickness=0pt,
offset=0pt,
loffset=-0pt
A bit late to the party but maybe this helps... try "frameoffset":
\defineframed[caja][frameoffset=\zeropoint,width=5cm,height=2cm]
\starttext
\dorecurse{5}{\caja[frame=on]{Hello}}
\stoptext
--
Andrés Conra
Hi all,
in a typing environment, I have the problem that not every line is
numbered:
\definetyping
[code]
[numbering=line,
escape={@[,@]}]
\setupcolors[state=start]
\definecolor[nonsigpart][r=.7,g=.7,b=.7]
\defineframed[nonsig]
[location=low
gives no ligatures in my computer so I've used \definefontfamily instead)
%\definefont does not work as expected
\definefontfamily[main][serif][mongolianwhite][features=mongolian]
\setupbodyfont[main,24pt]
\defineframed
[vertical]
[
offset=none,
align=flushleft,
anchoring=left,
foregroundstyle
.73 bbl \NC = \NC
> > 2,907 ft \NC \NR
> >\stoptabulate \stopitem
> >\startitem Convert 2,907 to TVD: \\TVD = 2,907 × cosine 45° =
> > 2,907 ×
> 0.707 = 2,056 ft \stopitem
> >\startitem ΔP = 2,056 ft × 0.
\stoptabulate \stopitem
\startitem Convert 2,907 to TVD: \\TVD = 2,907 × cosine 45° = 2,907
× 0.707 = 2,056 ft \stopitem
\startitem ΔP = 2,056 ft × 0.052 × (15 - 7.2) = 834 psi
\stopitemize
\stoptext
Naive solution: Add a \hbox around tabulate:
\defineframed[tabulateframed
line like this:
begin error message
tex error > tex error on line 8 in file ./test.tex: ! Undefined
control sequence
\par draw outlinetext.f ("\frameletter
end error message
As the error message tells you the command \frameletter doesn't exist,
you can fix this
utlinetext.
> >>
> >> 4. To achieve the desired result you can now a) use MetaPost to draw the
> >> complete card (letter plus frame) or b) use only TeX to put the letter
> in a
> >> frame and rotate it.
> >>
> >> begin tex example
>
a) use MetaPost to draw the
complete card (letter plus frame) or b) use only TeX to put the letter in a
frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1
t; work with outlinetext.
>
> 4. To achieve the desired result you can now a) use MetaPost to draw the
> complete card (letter plus frame) or b) use only TeX to put the letter in a
> frame and rotate it.
>
> begin tex example
> \usecolors[svg]
>
> \defineframed
&
in a frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1\bodyfontsize,
rulethickness=1pt]
\starttext
\startTEXpage[offset=\linewidth]
\dontleavehmode
\rotate
brice
>
> https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
ttps://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> f
Hi Wolfgang,
Is it possible to adapt your code with the environment that you proposed to
me ?
Thank you.
Fabrice
https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
\defineframed
[EXFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background
\define... the new instance
inherits most of its values from a parent instance.
You can overwrite individual values for your new instance but all other values
are taken from the parent.
begin example
\setupframed[foregroundstyle=bold]
\defineframed[customframe][framecolor=red]
\starttext
\fr
][\uniqueMPgraphic{cancel}]
\defineframed[cancel]
[background=cancel,frame=off,offset=0pt,location=low]
\starttext
\startformula
6 \frac{3}{8} \div 4 \frac{1}{2} = \frac{27}{4} \div \frac{9}{2} =
\frac{\cancel{27}^3}{\cancel{4}^2} \times \frac{\cancel{2}^1}{\cancel{9}^1} =
\frac{3}{2} = 1 \frac{1}{2
of text.
3. Use \offset to change the vertical position of the frame in the middle.
\setuplayout
[header=1cm,
headerdistance=1cm]
\setupbackgrounds [header] [text] [frame=on]
\defineframed [headerframed] [align=normal]
\setupheadertexts
[{\offset[y=-\strutdp]{\headerframed{Middle
,
topframe=off,
bottomframe=on,
framecolor=,
rulethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startuseMPgraphic{framewithshadow}
path p;
p:=origin--(1.05*OverlayWidth,0)--(1.05*OverlayWidth,1.05*OverlayHeight
Hello,
Why items are numbered with a square instead of a bullet ?
Thanks.
Fabrice
\definecolor[MyColorC][s=0.8784]
\definecolor[MyColorD][m=0.27,y=1]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color
eur wrote:
> Hello,
> The date display is incorrect : I get day 28 instead of day 2.
> Thank you
> Fabrice
>
> \defineframed
> [headerframed]
> [frame=off,
> height=fit,
> width=fit]
&
8 instead of day 2.
> > Thank you
> > Fabrice
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height=fit,
> > width=fit]
> >
> > \definecolor[ColorA][0.8(white)]
> >
> >
> > \startsetups [headertex
On Wed, 28 Aug 2019, Fabrice Couvreur wrote:
Hello,
The date display is incorrect : I get day 28 instead of day 2.
Thank you
Fabrice
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext
Hello,
The date display is incorrect : I get day 28 instead of day 2.
Thank you
Fabrice
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext]
\setupheadertexts
[{\startframed [headerframed
> like to use your code instead.
> Thank you.
> Fabrice
>
>
> \setupbackgrounds
> [header]
> [text]
> [frame=off,
> topframe=off,
> bottomframe=off,
> framecolor=,
> rulethickness=2pt]
>
> \defineframed
> [h
,
topframe=off,
bottomframe=off,
framecolor=,
rulethickness=2pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext]
\setupheadertexts
[{\startframed [headerframed
k the same.
\setupfield[setup name][options][keyval options] would map to
\defineframed[setup name][keyval options]
\definefield[name][type][setup name][content values][default content] would map
to \defineframed[nameField][keyval options] and inherit (how?) from "class
name".
Don’t know
Hi,
I have a problem with a not printed color background when using layers.
Small test file is attached.
ConTeXt version: 2019.07.16 18:23
Peter
test.pdf
Description: Adobe PDF document
\defineframed[framedclass][
foregroundcolor=black, foregroundstyle=\bfa,
backgroundcolor
Ursula Hermann schrieb am 28.02.19 um 11:43:
Dear List!
I have the following example. I would like to have two columns that are
in the distance small. So I have tried:
\setuppapersize[A5]
\startcolumns
\defineframed
[tightframed][width=5cm,width.1\textwidth,align=right]
\tightframed
olumns
[distance=2cm]
> So I have tried:
>
> \setuppapersize[A5]
> \startcolumns
> \defineframed
>[tightframed][width=5cm,width.1\textwidth,align=right]
1. Usually you don't define stuff in the main text. That's what the
setup area (before \starttext) if for.
2. wi
Dear List!
I have the following example. I would like to have two columns that are in the
distance small. So I have tried:
\setuppapersize[A5]
\startcolumns
\defineframed
[tightframed][width=5cm,width.1\textwidth,align=right]
\tightframed{Small}
\column
\tightframed{A really really long line
t; >[header]
> >[text]
> >[frame=off,
> > topframe=off,
> > bottomframe=on,
> > framecolor=,
> > rulethickness=1pt]
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height
> > [frame=off,
> > topframe=off,
> > bottomframe=on,
> > framecolor=,
> > rulethickness=1pt]
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height=fit,
> > width=fit]
> >
> > \startset
off,
> topframe=off,
> bottomframe=on,
> framecolor=,
> rulethickness=1pt]
>
> \defineframed
>[headerframed]
>[frame=off,
> height=fit,
> width=fit]
>
> \startsetups [headertext]
>
> \setupheadertexts
>[{
> \startfra
,
bottomframe=on,
framecolor=,
rulethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o
code?
%%%%%%
\defineframed
[MyFramed]
[frame=off,
loffset=1ex,
roffset=1ex,
foregroundstyle=\ssbf]
\startuseMPgraphic{MyFrame}
picture p ; numeric o ; path a, b ; pair c ;
%p := textext.rt("\FunnyFramed{\enumerationparameter{text}
\convertedcounter[Theorem]
ethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{
\mainlanguage[fr]
\setupbackgrounds
[header]
[text]
[frame=off,
topframe=off,
bottomframe=on,
framecolor=,
rulethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext
mframe=on,
> framecolor=,
> rulethickness=1pt]
>
> \defineframed
>[headerframed]
>[frame=off,
> height=fit,
> width=fit]
>
>\startsetups [headertext]
> \setupheadertexts
> [{
> \startframed [headerfr
]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number
MyColorB][m=0.27,y=1]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
backgroundcolor=MyColorB,
location=depth]
\defineframedtext
[FramedText]
[offset=0.5em,
style=\ss,
toffset=.25\lineheight,
command, say \defineframed \setupframed ... the concepts
are the same (only a few commands for practical reasons behave different)
And lately I often see here that setups are named like "foo:bar". What
is the meaning of the double colon?
variants (same command, different options) or
h frames).
> \definecolor[MyColorA][s=0.8784]
> \definecolor[MyColorB][m=0.27,y=1]
>
> \defineframed
>[FrameTitle]
>[frame=off,
> foregroundstyle=\bfx\ss,
> foregroundcolor=white,
> background=color,
> backgroundcolor=MyColorB,
> location=dept
that (if that is possible with frames).
\definecolor[MyColorA][s=0.8784]
\definecolor[MyColorB][m=0.27,y=1]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
backgroundcolor=MyColorB,
location=depth]
\defineframedtext
[FramedText]
[offset
the bottom line of the frame, how to add
a little space ?
Thanks
Fabrice
\defineframed
[ACFRAME]
[frame=on,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[exercice]
[text={Exercice},
headstyle={\bf
offset=
On Tue, 7 Aug 2018 11:55:29 +0200
Fabrice Couvreur wrote:
> Hello,
> I find that the text is near the bottom line of the frame, how to add
> a little space ?
> Thanks
> Fabrice
>
> \defineframed
> [ACFRAME]
> [frame=on,
>width=fit,
>a
Hello,
I find that the text is near the bottom line of the frame, how to add a
little space ?
Thanks
Fabrice
\defineframed
[ACFRAME]
[frame=on,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[exercice]
[text
le here I get the correct behaviour: the text is
> not in bold face.
>
> Best regards: OK
>
>> On 15 Jul 2018, at 23:39, Fabrice Couvreur > <mailto:fabrice1.couvr...@gmail.com>> wrote:
>>
>> Good evening,
>> In the code below, why is the text in bold ?
&g
in bold face.
>
> Best regards: OK
>
> On 15 Jul 2018, at 23:39, Fabrice Couvreur
> wrote:
>
> Good evening,
> In the code below, why is the text in bold ?
> Thank you
> Fabrice
>
> \setupbodyfont[pagella,11pt]
>
> \defineframed
>[ACFRAME]
>[
> \setupbodyfont[pagella,11pt]
>
> \defineframed
>[ACFRAME]
>[frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> forgroundstyle=
On 7/15/2018 17:39, Fabrice Couvreur wrote:
\setupbodyfont[pagella,11pt]
\defineframed
[ACFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=black,
foregroundcolor=white,
forgroundstyle=bold]
\defineprocessor
Good evening,
In the code below, why is the text in bold ?
Thank you
Fabrice
\setupbodyfont[pagella,11pt]
\defineframed
[ACFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=black,
foregroundcolor=white
,
rulethickness=2pt]
\defineframed[headerframed]
[frame=off,
location=depth,
bottomoffset=\lineheight,
align=middle,
width=fit]
\setupheadertexts[\headerframed{\ss\sc\bf\red Contrôle n\high{o}\,1
On Sun, 20 May 2018 08:02:46 -0600, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:
\definelabel[idris][text=,headstyle=,numberconversion=R]
\defineframed
[NUM]
[width=fit,
align=middle,
frame=off,
background=color,
backgroundcolor=green,
top={\idr
\definelabel[idris][text=,headstyle=,numberconversion=R]
\defineframed
[NUM]
[width=fit,
align=middle,
frame=off,
background=color,
backgroundcolor=green,
top={\idris\par},
location=bottom]
\starttext
\dorecurse{5}{Unnumbered Text \NUM{Numbered Text} }
\stoptext
Wolfgang
EXpage
===
This feels more like “the ConTeXt way” to me.
\defineframed
[MQTframed]
[offset=overlay,
frame=off,
background=color,
backgroundcolor=green,
align=middle]
\definecounter[MQT]
\setcounter[MQT][1]
\define[1]\NUM
{%
\startframed[MQTframed]
\convertedcounter[MQT]\par
page
> ===
This feels more like “the ConTeXt way” to me.
\defineframed
[MQTframed]
[offset=overlay,
frame=off,
background=color,
backgroundcolor=green,
align=middle]
\definecounter[MQT]
\setcounter[MQT][1]
\define[1]\NUM
{%
\startframed[MQTframed]
\converte
Procházka Lukáš Ing. <mailto:l...@pontex.cz>
21. März 2018 um 14:24
Hello,
does \framed recognize before and after keys, as mentioned here:
http://wiki.contextgarden.net/Command/defineframed
or:http://wiki.contextgarden.net/Command/setupframedtexts ?
In the following e
On Thu, 22 Mar 2018, Henri Menke wrote:
On Wed, 2018-03-21 at 14:24 +0100, Procházka Lukáš Ing. wrote:
Hello,
does \framed recognize before and after keys, as mentioned here:
http://wiki.contextgarden.net/Command/defineframed
or: http://wiki.contextgarden.net/Command
On Wed, 2018-03-21 at 14:24 +0100, Procházka Lukáš Ing. wrote:
> Hello,
>
> does \framed recognize before and after keys, as mentioned here:
>
> http://wiki.contextgarden.net/Command/defineframed
> or: http://wiki.contextgarden.net/Command/setupframedtexts ?
>
>
On 03/21/2018 02:24 PM, Procházka Lukáš Ing. wrote:
> Hello,
>
> does \framed recognize before and after keys, as mentioned here:
>
> http://wiki.contextgarden.net/Command/defineframed
> or: http://wiki.contextgarden.net/Command/setupframedtexts ?
Hi Lukáš,
\fr
Hello,
does \framed recognize before and after keys, as mentioned here:
http://wiki.contextgarden.net/Command/defineframed
or: http://wiki.contextgarden.net/Command/setupframedtexts ?
In the following example it seems both keys are ignored:
\defineframed[AddressBox][before
the image
extends outside of the borders of the frame. A option to clip parts –
which can be
disabled – of the image which are outside of the frame would be a nice
extension
to this command (e.g. in case you want a image in a table cell).
\setupexternalfigure[location=default]
\defineframed
.
2.
3.
Thank you.
Fabrice
2018-01-28 22:54 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>:
> Hello,
> How to make the first item on the baseline of the numbering as in the
> first exercise ?
> Thanks.
> Fabrice
>
> \defineframed
> [ACFRAME]
&g
Hello,
How to make the first item on the baseline of the numbering as in the first
exercise ?
Thanks.
Fabrice
\defineframed
[ACFRAME]
[frame=off,
boffset=0pt,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=MyColorA]
\defineframed
[EXFRAME
expected and one at the
beginning of the framed text which I don’t want.
One more thing, is there no way to show the number of the Definition?
you can download a beta and try
\defineenumeration[Theorem]
[alternative=empty,
before=\startMyText,
after=\stopMyText]
\defineframed
of the framed text which I don’t want.
One more thing, is there no way to show the number of the Definition?
Thanks again.
Best regards,
Dalyoung
%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
%%% define the background of Theorems:
\defineframed
[FunnyFramed]
[frame
[\??constructionrenderings:\v!empty]
\noindent
\useconstructionstyleandcolor\c!style\c!color
\ignorespaces
\stopsetups
\protect
% till here
\defineenumeration[Theorem]
[alternative=empty,
before=\startMyText,
after=\stopMyText]
\defineframed
[MyFramed]
[frame=off,
loffset
of Theorems:
\defineframed
[FunnyFramed]
[frame=off,
loffset=1ex,
roffset=1ex,
foregroundstyle=\ssbf]
\startuseMPgraphic{FunnyFrame}
picture p ; numeric o ; path a, b ; pair c ;
p := textext.rt("\FunnyFramed{\enumerationparameter{text}
\convertedcounter[Th
}[]
shows ?? instead of numbers while \in{Exam}[] shows correctly.
Is there a way to show the numbers correctly?
Thank you for reading.
Best regards,
Dalyoung
%%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
%%% define the background of Theorems:
\defineframed
>
> Dalyoung
>
> %% first method
> %1. use \enumerationparameter{text} and add “text=Theorem” in
> \defineenumeration.
> %%%
> \defineframed
> [FunnyFramed]
> [frame=off,
> loffset=1ex,
> roffset=1ex,
> foregroundstyle=\ssbf]
the similar problem.
Thanks Wolfgang again.
Best regards,
Dalyoung
%% first method
%1. use \enumerationparameter{text} and add “text=Theorem” in
\defineenumeration.
%%%
\defineframed
[FunnyFramed]
[frame=off,
loffset=1ex,
roffset=1ex,
foregroundstyle=\ssbf
=]
\setupfootertexts[\tfxx Page \pagenumber\,/\,\lastpage][]
\definecolor[darkgray] [s=.25]
\setupbackgrounds
[header]
[text]
[
frame=off,
bottomframe=on,
framecolor=darkgray,
rulethickness=2pt,
]
\defineframed[headerframed]
[
frame=off, % For visualization set
t;
>>> #
>>> MyLayout.tex
>>> #
>>>
>>> % macros=mkvi
>>>
>>> \startenvironment MyLayout
>>>
>>> \setuplayout
>>>[header=3\lineheight,
>>> headerdistance=\lineheight]
>
aderdistance=\lineheight]
\setupbackgrounds
[header]
[text]
[
frame=off,
bottomframe=on,
framecolor=darkgray,
rulethickness=2pt,
]
\defineframed[headerframed]
[
;> MyLayout.tex
>>> #
>>>
>>> % macros=mkvi
>>>
>>> \startenvironment MyLayout
>>>
>>> \setuplayout
>>>[header=3\lineheight,
>>> headerdistance=\lineheight]
>>>
>>> \setupbackgro
e
>>
>> #
>> MyLayout.tex
>> #
>>
>> % macros=mkvi
>>
>> \startenvironment MyLayout
>>
>> \setuplayout
>>[header=3\lineheight,
>> headerdistance=\lineheight]
>>
>> \setupbackg
macros=mkvi
\startenvironment MyLayout
\setuplayout
[header=3\lineheight,
headerdistance=\lineheight]
\setupbackgrounds
[header]
[text]
[
frame=off,
bottomframe=on,
framecolor=darkgray,
rulethickness=2pt,
]
\
1 - 100 of 320 matches
Mail list logo